package carltechnology.com.mahjonggame.mode.impl;

import carltechnology.com.mahjonggame.mode.AbstractData;

/**
 * Created by WZTCM on 2016/6/16.
 */
public class MahjongPerGameMode extends AbstractData {
    private int [] prices;
    private int cost;
    private MahjongPerGameMode(int[] prices, int cost) {
        this.prices = prices;
        this.cost = cost;
    }

    @Override
    public int[] getPrice() {
        return prices;
    }

    @Override
    public int getCost() {
        return cost;
    }
    public static MahjongPerGameMode _of(int[] prices, int cost){
        return  new MahjongPerGameMode(prices,cost);
    }
}
